package booking.tests;

import org.junit.*;
import booking.pages.*;
import static booking.utils.TestData.*;

public class SearchNotFoundVerification extends BaseTest{
	@Test
	public void verifylogin() throws InterruptedException {
		HomePage home = new HomePage(driver);
		
		home.navigateToLoginPage()
			.loginAs(loginData, passwordData)
			.goToHomePage()
			.isAtHomePage()
			.searchForTickets(fromDataNotFound, toData, dateData, timeFromData)
			.isResNotFoundDisplayed();
		
		verify.checkIfElementDisplayedValueIs(home.getResNotFoundText(), ResNotFoundText);
	}
}
